package com.the_ring.behavior.state;

public enum StateEnum {
    A("已付款", StateA.class),
    B("已发货", StateB.class),
    C("已退货", StateC.class);

    private String desc;
    private Class<? extends State> clazz;

    StateEnum(String desc, Class<? extends State> clazz) {
        this.desc = desc;
        this.clazz = clazz;
    }

    public String getDesc() {
        return desc;
    }

    public Class<? extends State> getClazz() {
        return clazz;
    }
}
